SMPL CONVERTER

This Converter writes ready-to-render scenes in the SMPL language used by Megahedron 1.6 and 1.7. It adds one entry to the conversion lists:

Megahedron SMPL *.smpl

Geometry
A SMPL file exported by this converter contains a hierarchy of Megahedron objects with the geometry represented by one or more Megahedron polygonal mesh primitives.

A Megahedron mesh primitive consists of a set of polygons that share a single material, with adjacent polygons in a mesh being smoothed by default. This means that polygons within a object that share the same material will be grouped together and converted as a single mesh primitive. Each object will have one mesh generated for each material that is used in that object.

In order for smoothing to work properly in Megahedron, all polygons in a mesh need to have a consistent orientation. This converter tries to reorient polygons that do not match the orientation of their adjacent polygons.

All polygons are converted to triangles. Object centers are represented in the hierarchy by using SMPL "move to" statements to position the objects. Cameras and lights are ignored. Texture UV information is not translated at this time.

Material attributes
Only the diffuse color of the material used by each mesh is applied to that mesh using the Megahedron flat shader. Comments that describe all the remaining attributes from the original material are placed before each mesh.

Options dialog
Because these files are ASCII, you can set the Line ending.

Background
Megahedron was developed by Abe Megahed and Mark Spychalla of Cosmic Software.